<template>
  <div id="ScoreChart" style="width: 100%; height:100%;"></div>
</template>

<script>
export default {
  name: "ScoreChart",
  props:['option'],
  data(){
    return{
      //
    }
  },
  mounted() {
    this.drawChart();

  },
  created(){

  },
  methods:{
    drawChart(){
      let chart = this.$echarts.init(document.getElementById("ScoreChart"));
      chart.setOption(this.option);
    }
  }
}
</script>

<style scoped>

</style>
